import { IFeidaoAiBrowserComponent } from '@dfeidao/atom-web/interfaces';
import fire from '@dfeidao/atom-web/msg/fire';
import hide from '@dfeidao/atom-web/ui/hide';

export default async function a006(fd: IFeidaoAiBrowserComponent) {
	// todo
	const arr = fd.data.node.querySelectorAll<HTMLDivElement>('[data-id="getUser"]');
	const d = arr.length;
	const arr1 = Array();
	for (let i = 0; i < arr.length; i++) {
		arr1.push(arr[i].getAttribute("data-v"));
	}
	// console.log(arr1);
	fire('zj-000004', 'a004', arr1, d);
	hide(fd.data.node);
}
